package com.ht.pms.core.feign;

import com.ht.pms.core.dto.send.MailReqDto;
import com.ht.ussp.core.Result;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

@FeignClient(value = "eip-out")
public interface EipoutFeign {
    /**
     * 发送邮件
     *
     * @param dto
     * @return
     */
    @PostMapping(value = "/eip/common/sendEmailNew1", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew1(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew2", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew2(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew3", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew3(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew4", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew4(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew5", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew5(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew6", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew6(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew7", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew7(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew8", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew8(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew9", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew9(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNew10", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNew10(@RequestBody MailReqDto dto);

    ////////

    @PostMapping(value = "/eip/common/sendEmailNewZc", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewZc(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewTd", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewTd(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewLs1", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewLs1(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewLs2", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewLs2(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewLs3", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewLs3(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewFc1", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewFc1(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewFc2", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewFc2(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/sendEmailNewZq", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    @ResponseBody
    public Result sendEmailNewZq(@RequestBody MailReqDto dto);

    @PostMapping(value = "/eip/common/getOverTimeDetail", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getOverTimeDetail(@RequestBody Map<String,Object> dto);

    @PostMapping(value = "/eip/common/getKqDetail", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getKqDetail(@RequestBody Map<String,Object> dto);

    @PostMapping(value = "/eip/common/getOverTimeList", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getOverTimeList(@RequestBody Map<String,Object> dto);

    @PostMapping(value = "/eip/common/getDDToken", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getDDToken();

    @PostMapping(value = "/eip/common/getDDTokenOther", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getDDTokenOther(@RequestBody Map<String,Object> dto);


    @PostMapping(value = "/eip/common/getDDAuthDept", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getDDAuthDept(@RequestBody Map<String,Object> dto);

    @PostMapping(value = "/eip/common/getDDDept", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getDDDept(@RequestBody Map<String,Object> dto);



    @PostMapping(value = "/eip/common/getDDDeptUser", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result getDDDeptUser(@RequestBody Map<String,Object> dto);


    @PostMapping(value = "/eip/common/sendMsg", headers = {"app=PMS"}, consumes = "application/json; charset=utf-8", produces = "application/json; charset=utf-8")
    public Result sendMsg(@RequestBody Map<String,Object> dto);


}

